package com.txhy.certificatechain.helper;

import java.io.Serializable;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: SimpleResponse.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述: 简单响应数据
 * 创建时间: 2018/9/19 17:09
 * 更新时间：2018/9/19 17:09
 * -----------------------------------------------------------------
 * 2018/9/19 17:09: 创建 SimpleResponse.java (侯建军);
 * -----------------------------------------------------------------
 */
public class SimpleResponse implements Serializable {

    private static final long serialVersionUID = -1477609349345966116L;

    public int code;
    public String msg;

    public LzyResponse toLzyResponse() {
        LzyResponse lzyResponse = new LzyResponse();
        lzyResponse.code = code;
        lzyResponse.msg = msg;
        return lzyResponse;
    }
}
